package com.bdqn.dao;
import com.bdqn.pojo.SysUser;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import java.util.List;
/**
 * 继承SqlSessionDaoSupport抽象类实现（通过getSqlSession()方法获得SqlSession对象操作数据库）
 *
 */
public class SysUserMapperDaoSupportImpl extends SqlSessionDaoSupport implements SysUserMapper {

    /**
     * 查询用户列表
     *
     * @param sysUser
     * @return
     */
    @Override
    public List<SysUser> selectSysUserList(SysUser sysUser) {
        return this.getSqlSession().getMapper(SysUserMapper.class).selectSysUserList(sysUser);
    }

    @Override
    public int add(SysUser sysUser) {
        return 0;
    }

    @Override
    public int delete(Integer id) {
        return 0;
    }

    @Override
    public int update(SysUser sysUser) {
        return 0;
    }
}